<template>
<div class="home">
  <div class="textAlignCenter"><van-button type="info" @click="click('/personalSelection')">人员选择</van-button></div>
  <div class="textAlignCenter"><van-button type="info" @click="click('/toDoList')">待办列表</van-button></div>
  <div class="textAlignCenter"><van-button type="info" @click="click('/myTodoAndDone')">我的待办和已办</van-button></div>
  <div class="textAlignCenter"><van-button type="info" @click="click('/doneList')">已办详情</van-button></div>
</div>
</template>

<script>
import Vue from 'vue';
import { Button } from 'vant';

Vue.use(Button);
export default {
name: "home",
  methods:{
    click(router){
      this.$router.push(router)
    }
  }
}
</script>

<style scoped>

</style>